﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Web;

namespace AjaxControlFramework.Reflection
{
    public class ConstructorCacheEntry : ReflectiveCacheEntry
    {
        //------// Properties \\--------------------------------------------\\
        new public virtual ObjectCreate Delegate { get; set; }
        //------\\ Properties //--------------------------------------------//



        //------// Constructors \\------------------------------------------\\
        public ConstructorCacheEntry()
            : base()
        { }


        public ConstructorCacheEntry(string constructorName)
            : base(constructorName)
        { }


        public ConstructorCacheEntry(string constructorName, ConstructorInfo info, ObjectCreate del)
            : base(constructorName, info, null)
        {
            Delegate = del;
        }
        //------\\ Constructors //------------------------------------------//



        //------// Methods \\-----------------------------------------------\\

        //------\\ Methods //-----------------------------------------------//
    }
}
